public class ForEachTest {
	public static void main (String [] args){
		int[] myArray = new int[3];
		myArray[0] = 10;
		myArray[1] = 20;
		myArray[2] = 30;
		
		for (int i: myArray){
			System.out.println(i);
		}
	}
}
